package com.macrounion.atv.service.service;

import java.util.List;

import com.github.pagehelper.Page;
import com.macrounion.atv.service.entity.ProtocolC;
import com.macrounion.base.service.service.BaseService;

public interface ProtocolCService extends BaseService<ProtocolC> {

	List<ProtocolC> getByProtocolId(String pid);
    int deleteRows(List<String> ids);
    int saveProtocols(List<ProtocolC> protocolCS);
    int getCountByMid(String mid,String protocolId);
    int getCountByChannelCode(String channelCode,String protocolId);
    int deleteByProtocolId(String protocolId);
    String getMaxChannelCodeByProtocolId(String protocolId,Integer trap);
    String getNameByChannelCodeNPid(String channelCode,String protocolId);
    int updateTranslate(ProtocolC protocolC);
}